{tpl head}
<header class="header-fix main-nav bg-black header header-lg navbar navbar-fixed-top-xs box-shadow">
  <div class="container">
    <div class="navbar-header aside-sm"> 
    <a class="btn btn-link visible-xs" href="javascript:history.back()"> <i class="icon iconfont">&#xf007a;</i> </a>
		  <div class="navbar-brand">{$title} </div>
   </div>
  </div>
</header>
<div class="middle-box container text-center loginscreen animated fadeInDown mt60">
  <form class="m-t" action="?c=device&a=lists">
    <div class="list-group">
      <div class="list-group-item regitem">
        <div class="iptbg">
          <input type="text" name="name" class="form-control no-border" placeholder="设备名称">
        </div>
      </div>
      <div class="list-group-item regitem">
        <div class="iptbg">
          <input type="text" name="device_no" class="form-control no-border" placeholder="设备编号">
        </div>
      </div>
      <div class="list-group-item regitem">
        <div class="iptbg">
          <input type="text" name="ip" class="form-control no-border" placeholder="ip地址">
        </div>
      </div>
      <!--<div class="list-group-item regitem">
        <div class="iptbg">
          <input type="text" name="" class="form-control no-border" placeholder="所属单位">
        </div>
      </div>-->
      <div class="list-group-item regitem">
        <div class="iptbg">
          <input type="text" name="person" class="form-control no-border" placeholder="姓名">
        </div>
      </div>
      <div class="list-group-item regitem">
        <div class="iptbg">
          <select name="location" class="form-control no-border">
            <option value="">选择设备存放地点</option>
            {loop $list_loc $v}
            <option value="{$v.id}" {if $v.id==$oj.company_id}selected{/if}>{$v.name}</option>
            {/loop}
          </select>
        </div>
      </div>
    </div>
    <input type="hidden" name="tid" value="{$tid}">
    <input type="hidden" name="a" value="lists">
    <input type="hidden" name="c" value="device">
    <button type="submit" class="btn-radius regsubmit btn btn-lg btn-primary btn-block submit">立即查询</button>
  </form>
</div>



{tpl foot}